<div class="modal-header">
    选择收货地址
    <i class="yb-icon ico-close" ng-click="cancel()"></i>
</div>
<div class="modal-body">
    <div class="row ">
        <div class="input-bar col-xs-5 wrapper-none pull-right">
            <div class="input-group clearfix">
                <input type="text" class="form-control" ng-model="condition.receiverName"
                    translate translate-attr-placeholder="请输入收货人">
                <span class="input-group-addon" ng-click="search(1)" translate>搜索</span>
            </div>
        </div>
        <div style="width:100%;overflow-y: auto;height: 325px;margin-top: 5px">
            <table class="table table-fixed m-t-sm">
                <thead>
                    <tr ng-if="!condition.clientReceiveInfo">
                        <td width="10%"><span translate>收货人</span></td>
                        <td width="60%"><span translate>收货地址</span></td>
                        <td width="20%"><span translate>联系方式</span></td>
                        <td width="10%"><span translate>操作</span></td>
                    </tr>
                    <tr ng-if="!!condition.clientReceiveInfo">
                        <td width="10%"><span translate>收货人</span></td>
                        <td width="15%"><span translate>地址编码</span></td>
                        <td width="45%"><span translate>收货地址</span></td>
                        <td width="20%"><span translate>联系方式</span></td>
                        <td width="10%"><span translate>操作</span></td>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-if="dataList.length == 0">
                        <td class="text-center" colspan="4"><span translate>暂时没有数据</span></td>
                    </tr>
                    <tr ng-repeat="item in dataList track by $index">
                        <td class="spill-dots" title="{{item.receiverName}}">{{item.receiverName}}</td>
                        <td ng-if="!!condition.clientReceiveInfo" class="spill-dots" title="{{item.addressCode}}">
                            {{item.addressCode}}</td>
                        <td class="spill-dots" title="{{item.receiverAddress}}">{{item.receiverAddress}}</td>
                        <td class="spill-dots" title="{{item.receiverTel}}">{{item.receiverTel}}</td>
                        <td class="text-center">
                            <button class="btn btn-operate" ng-click="ok($index)"><span translate>选择</span></button>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>

    </div>
</div>